package com.jc.springCloud.Controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jc.springCloud.service.TestService;

@RestController
public class TestController {

	@Autowired
	TestService testService;
	
	@RequestMapping("/cloud")
	public String test(){
		return testService.hiService("sadad");
	}
}
